package cn.iocoder.yudao.module.erp.controller.admin.business.tax.taxrate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 税率新增/修改 Request VO")
@Data
public class TaxRateSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "23627")
    private Long id;

    @Schema(description = "税率", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotNull(message = "税率不能为空")
    private Integer name;

    @Schema(description = "设为常用", example = "1")
    private Boolean status;

}